package com.yunnuo.system.dict.entity;


import com.yunnuo.system.comm.entity.IdEntity;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * 数据字典数据表
 * Created by 魏洪福(15064000912@163.com) on  2018/5/25.
 */
@Entity
@Table(name="SYS_DICT_DATA")
public class DictData   extends IdEntity {

    /* SYS_DICT_TYPE.id */
    private String  dictCode;
    private String  dictSort ;
    private String  dictLabel ;
    private String  dictValue ;
    private String dictType ;
    private String cssClass  ;
    private String  isDefault;
    private String  status   ;
    private String  remark   ;

    public String getDictCode() {
        return dictCode;
    }

    public void setDictCode(String dictCode) {
        this.dictCode = dictCode;
    }

    public String getDictSort() {
        return dictSort;
    }

    public void setDictSort(String dictSort) {
        this.dictSort = dictSort;
    }

    public String getDictLabel() {
        return dictLabel;
    }

    public void setDictLabel(String dictLabel) {
        this.dictLabel = dictLabel;
    }

    public String getDictValue() {
        return dictValue;
    }

    public void setDictValue(String dictValue) {
        this.dictValue = dictValue;
    }

    public String getDictType() {
        return dictType;
    }

    public void setDictType(String dictType) {
        this.dictType = dictType;
    }

    public String getCssClass() {
        return cssClass;
    }

    public void setCssClass(String cssClass) {
        this.cssClass = cssClass;
    }

    public String getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(String isDefault) {
        this.isDefault = isDefault;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "DictData{" +
                "id='" + getId() +
                ",dictCode='" + dictCode +
                ", dictSort='" + dictSort +
                ", dictLabel='" + dictLabel +
                ", dictValue='" + dictValue +
                ", dictType='" + dictType +
                ", cssClass='" + cssClass +
                ", isDefault='" + isDefault +
                ", status='" + status +
                ", remark='" + remark +
                '}';
    }
}
